<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jQuery.min.js"></script>
    <style>
        .wrapper{
            display: flex;
            align-items: space-around;
            justify-self: space-around;
            width: 800px;
            height: 300px;
        }
        li{
            list-style: none;
        }
        ul{
            padding: 0;
        }
        .container{
            width: 100px;
            height: 200px;
        }
        a{
            text-decoration: none;
            color: black;
            background-color: burlywood;
            border: 1px solid #ddd;
        }
        .container ul{
            display: none;
        }
    </style>
</head>
<body>
    <ul class="wrapper">
        <li class="container">
            <a href="#">微博</a>
            <ul>
                <li><a href="#">私信</a></li>
                <li><a href="#">评论</a></li>
                <li><a href="#">@我</a></li>
            </ul>
        </li>
        <li class="container">
            <a href="#">微博</a>
            <ul>
                <li><a href="#">私信</a></li>
                <li><a href="#">评论</a></li>
                <li><a href="#">@我</a></li>
            </ul>
        </li>
        <li class="container">
            <a href="#">微博</a>
            <ul>
                <li><a href="#">私信</a></li>
                <li><a href="#">评论</a></li>
                <li><a href="#">@我</a></li>
            </ul>
        </li>
    </ul>


    <script>
        $(function(){
            var container = $('.container');
            container.mouseover(function(){
                $(this).children('ul').show();
            });
            container.mouseout(function(){
                $(this).children('ul').hide();
            });
        });
    </script>
</body>
</html>